package cn.qidd.keep.domain.web;

public class BusinessException extends RuntimeException {

    private Object[] args;
    private String objectName;


    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(String message, Object[] args, String objectName) {
        super(message);
        this.args = args;
        this.objectName = objectName;
    }

    public Object[] getArgs() {
        return args;
    }

    public String getObjectName() {
        return objectName;
    }
}
